package cn.ac.cintcm.service;

import java.util.List;

import cn.ac.cintcm.model.Therapy;

public interface TherapyManager extends GenericManager<Therapy, Long>  {

	Therapy getLastTherapy(long userId);

	List<Therapy> getHistoryTherapy(long userId);

	List<Therapy> getTherapyThread(long userId, long parentId);

	List<Therapy> getDurationTherapy(long userId, String start, String end);

	List<Therapy> getTherapy(Long uid);

	Therapy getUnnotifiedTherapy(Long id);

	List<Therapy> getDoctorTherapies(String username);

}
